#ifndef __NCE_PROXY_H__
#define __NCE_PROXY_H__

#include <iostream>
#include "nce_buffer.h"
#include "nce_socket.h"

using namespace std;

namespace nce
{

class Proxy
{
public:
    Proxy(string servName, string hostName, int port);
    virtual ~Proxy();

protected:
	int invoke(InputBuffer &ib, OutputBuffer &ob);
    string          _servName;
	
private:
    ClientSocket    *_client;
};

}

#endif
